# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=flasm
pkgver=1.62
pkgrel=6
groups=('blackarch' 'blackarch-decompiler' 'blackarch-reversing')
pkgdesc='Disassembler tool for SWF bytecode.'
arch=('x86_64' 'aarch64')
url='http://www.nowrap.de/flasm.html'
license=('custom')
depends=('zlib')
makedepends=('gperf')
source=('http://www.nowrap.de/download/flasm16src.zip')
sha512sums=('af53c8902bac9bc03a4274f51280abe7e595f19d8ee367c0237868634df58a42144bb6c335a99f860c494da90d483072c66064897ef1ad467b7621c648ca322a')

build() {
  make
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

